<?php
/**
 * 
 * Pages
 * Author : vthanh_88
 * @package WordPress
*/
get_header();
if(have_posts()):the_post();
?>
  	
    <div class="wrapper">
        <?php get_sidebar(); ?>		 
        <div class="right-panel-outer">
			<div class="right-panel">
			   <div class="right-inner">
                   <h2 class="head"><?php the_title(); ?></h2>			
               </div>
			  <?php the_content(); ?>
    	    </div>
			<div class="content-shadow">&nbsp;</div>
			<?php wp_link_pages('before=<div class="prev">&after=</div>'); ?>
        </div>
        <div class="clearfix"></div>
    </div>
<?php
else:
?>
    <div class="wrapper">
        <?php get_sidebar(); ?>		 
        <div class="right-panel-outer">
			<div class="right-panel">
			   <div class="right-inner">
                   <h2 class="head"><?php echo 'NOT FOUND PAGE'; ?></h2>			
               </div>
			  <div class="right-inner">
			  	   <p> NOT FOUND PAGES</p>
			  </div>
    	    </div>
			<div class="content-shadow">&nbsp;</div>
        </div>
        <div class="clearfix"></div>
    </div>
<?php
endif;
get_footer();
?>